Alma\Woocommerce\Helpers\Alma_Payment_Helper S

Total Complexity 44
Dependencies 21
Dependents 8
Total lines 517
Lines of code 250
Logical lines of code 120
Comment lines 180
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
get_payment_method()
S
56 6 19
validate_payment()
S
52 4 25
build_customer_details()
S
55 4 21
get_previous_order_items_details()
S
60 4 14
get_payment_to_validate()
S
55 3 20
get_eligibility_payload_from_cart()
S
55 3 19
validate_payment_on_customer_return()
S
59 3 14
build_payment_details()
S
51 2 26
get_payment_payload_from_order()
S
58 2 17
update_order_post_meta_if_deferred_trigger()
S
73 2 5
validate_payment_from_ipn()
S
65 2 9
add_product_data()
S
58 1 15
handle_customer_return()
S
76 1 4
redirect_to_cart_with_error()
S
71 1 6
get_description()
S
79 1 3
handle_ipn_callback()
S
77 1 4
build_data_for_alma()
S
65 1 9
build_order_details()
S
69 1 7
create_payments()
S
72 1 5
__construct()
S
67 1 8